StoreKeeper\WooCommerce\B2C\PaymentGateway\PaymentGateway B

Total Complexity 77
Dependencies 22
Dependents 5
Total lines 559
Lines of code 377
Logical lines of code 196
Comment lines 70
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
onReturn()
A
42 6 51
registerCheckoutFlash()
S
58 8 14
refundExists()
S
52 6 24
checkPayment()
S
53 6 23
getFinalPaymentPageUrl()
S
55 6 18
createWooCommerceRefund()
S
52 5 24
checkRefundCreationAllowed()
S
58 5 15
getSkMethods()
S
50 4 29
registerHooks()
S
58 4 15
addGatewayClasses()
S
55 3 19
addBlockSupport()
S
60 3 16
storekeeperOrderHasRefundWithReturnPayment()
S
67 4 7
createStoreKeeperRefundPayment()
S
61 3 12
updateRefund()
S
58 1 18
addRefund()
S
58 1 18
querySql()
S
68 2 7
getUnsyncedRefundsPaymentIds()
S
63 1 12
getUnsyncedRefundsWithoutPaymentIds()
S
63 1 12
markRefundAsSynced()
S
62 1 12
createRefundAsPayment()
S
62 1 11
isPaymentStatusPaid()
S
79 1 3
getCheckOutLogger()
S
80 1 3
displayFlashError()
S
71 1 5
displayFlashCanceled()
S
78 1 3
displayFlashPending()
S
78 1 3
hasUnsyncedRefunds()
S
79 1 3